<template>
  <router-view v-slot="{ Component }">
    <transition>
      <component :is="Component" />
    </transition>
  </router-view>
  <!-- <router-view></router-view> -->
</template>

<script setup>


</script>

<style lang="less">
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
body{ 
  width: 100%;
  height: 100%;
  background-color: #eaedf1 !important;
}


/* 从哪里入场 */
.v-enter-from {
  opacity: 0;
}
/* 移动的过程的特效 */
.v-enter-active,.v-leave-active {
  transition: all 0.2s ease-in;
}

/* 去到哪里 */
.v-leave-to {
  opacity: 0;
}
</style>